package flca.osm.perst.model;

import org.garret.perst.Persistent;

public class PNode extends Persistent
{
	private int id;
	private int lat;
	private int lon;
	
	public PNode(int id, int lat, int lon)
	{
		super();
		this.id = id;
		this.lat = lat;
		this.lon = lon;
	}
	
	
	public int getId()
	{
		return id;
	}
	public void setId(int id)
	{
		this.id = id;
	}
	public int getLat()
	{
		return lat;
	}
	public void setLat(int lat)
	{
		this.lat = lat;
	}
	public int getLon()
	{
		return lon;
	}
	public void setLon(int lon)
	{
		this.lon = lon;
	}

	@Override
	public String toString()
	{
		return "OsmNode [id=" + id + ", lat=" + lat + ", lon=" + lon + "]";
	}
	
	
	
}
